import axios from 'axios';
axios.defaults.baseURL = 'http://localhost:3008';

//获取车辆列表
export const  getCarLIstApi=(params={pageSize:2,pageNumber:1})=>axios.post("/cars/getCarsList",params)

//获取车辆信息
export const getCarInform=(params)=>axios.post("/cars/carInform",params);

//禁用车辆
export const isDisables=(params)=>axios.post("/cars/changeCarStatus",params);
//获取所有车辆
export const getAllCarApi=(params)=>axios.post("/cars/getAllCar",params);